import { request } from '../../request.js'
const withdraw = {
	initData (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/withdrawInfo',
	    params: params
	  })
	},
	apply (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/applyWithdraw',
	    params: params
	  })
	},
	drawlist (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/withdrawRecord',
	    params: params
	  })
	},
	bankHistory () {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agentWithdraw/bankHistory'
	   
	  })
	},
	checkAgent() {
	  return request({
	    method: 'Get',
	    url: '/api/cms/cfg/common/checkAgentWithd'
	   
	  })
	}
	}
export default withdraw